Skip to content

Comments

output: wlr_renderer_begin with physical size#66

Merged
buffet merged 1 commit intomasterfrom
unknown repository
Jul 25, 2022
Merged

output: wlr_renderer_begin with physical size#66
buffet merged 1 commit intomasterfrom
unknown repository

Conversation

@ghost
Copy link

@ghost ghost commented Jul 14, 2022

The rendered region size is independent on the output transform and
scale. Until now, an output with scale > 1 would render only its
(1 / scale) part; so with a scale of 2, only the top-left quarter (ie.
the left 1/2 of the top 1/2) would be visible.

Similarly, a portrait output (constructed as landscape, rotated by 90
degrees) would have an empty area at its bottom.

This bug was found while testing the output-management PR (#62).

The rendered region size is independent on the output transform and
scale. Until now, an output with scale > 1 would render only its
(1 / scale) part; so with a scale of 2, only the top-left quarter (ie.
the left 1/2 of the top 1/2) would be visible.

Similarly, a portrait output (constructed as landscape, rotated by 90
degrees) would have an empty area at its bottom.

This bug was found while testing the output-management PR (#62).
@buffet buffet merged commit 08b8f27 into buffet:master Jul 25, 2022
@ghost ghost deleted the fix-render branch July 30, 2022 19:01
buffet added a commit that referenced this pull request Nov 15, 2024
buffet added a commit that referenced this pull request Aug 14, 2025
buffet added a commit that referenced this pull request Aug 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant